$themeBlue: #1558d2;
$themePurple: #9456FD;
.tabs {
  display: flex;
  position: relative;
  padding: 0;
  margin: 0;

  li {
    position: relative;
    padding: 20px;
    font-size: 24px;
    color: #000;
    line-height: 1;
    transition: 0.2s all linear;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 100%;
    background: none;
    border-bottom: 2px solid $themePurple;
    transition: 0.2s all linear;
    user-select: none;
  }

  li.active::before {
    width: 100%;
    top: 0;
    left: 0;
    transition-delay: 0.1s;
    border-bottom-color: $themePurple;
    z-index: -1;
  }

  li.active ~ li::before {
    left: 0;
  }

  li.active {
    color: $themePurple;
  }
}
